
import request from '@/utils/request'
function getUrl(url) { return '/api/' + url }


//添加报警记录
export function addInAlarmRecord(data) {
    return request({
        url: getUrl("admin/inAlarmRecord/addInAlarmRecord"),
        method: 'post',
        data
    })
}

//修改报警记录
export function updateInAlarmRecord(data) {
    return request({
        url: getUrl("admin/inAlarmRecord/updateInAlarmRecord"),
        method: 'post',
        data
    })
}
//删除报警记录
export function removeInAlarmRecord(data) {
    return request({
        url: getUrl("admin/inAlarmRecord/removeInAlarmRecord"),
        method: 'post',
        data
    })
}
//获取报警记录Vo
export function getInAlarmRecordVo(data) {
    return request({
        url: getUrl("admin/inAlarmRecord/getInAlarmRecordVo"),
        method: 'post',
        data
    })
}

//获取报警记录List
export function getInAlarmRecordList(data) {
    return request({
        url: getUrl("admin/inAlarmRecord/getInAlarmRecordList"),
        method: 'post',
        data
    })
}

//误报火情处理
export function misstateFire(data) {
    return request({
        url: getUrl("admin/inAlarmRecord/misstateFire"),
        method: 'post',
        data
    })
}

//火情信息处理
export function confirmFire(data) {
    return request({
        url: getUrl("admin/inAlarmRecord/confirmFire"),
        method: 'post',
        data
    })
}

